﻿<Window 
  x:Class="iTFF.WPF.View.ColorPickerView"
  xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  xmlns:lib="clr-namespace:iTFF.WPFControlLibrary;assembly=iTFF.WPFControlLibrary"
  xmlns:l="clr-namespace:iTFF.WPF.Resources.Languages"
  xmlns:ui="clr-namespace:iTFF.WPF.UI"
  Title="Select a Color"
  Width="600"
  Height="400">
  
  <DockPanel>
    <StackPanel DockPanel.Dock="Bottom"
      Orientation="Horizontal"
      HorizontalAlignment="Right" 
      Margin="10">
      <Button Command="{Binding OKCommand}" Content="{x:Static l:Strings.OK}" Margin="2" />
      <Button Command="{Binding CancelCommand}" Content="{x:Static l:Strings.Cancel}" Margin="2" />
    </StackPanel>

    <lib:ColorPicker Margin="10,10,10,0" SelectedColor="{Binding SelectedColor}" />

  </DockPanel>
  
</Window>
